package mmc.networking;

import mmc.server.RemoteClient;

@SuppressWarnings("serial")
public class ViewDistanceChanged extends Message{
	public float viewDistance;

	public ViewDistanceChanged(float viewDistance) {
		this.viewDistance = viewDistance;
	}

	@Override
	public void executeOnServer(RemoteClient context) {
		context.getPlayer().viewDistance = viewDistance;
	}
}
